MailPoet\Services\AuthorizedEmailsController A

Total Complexity 51
Dependencies 11
Dependents 15
Total lines 233
Lines of code 156
Logical lines of code 97
Comment lines 12
Methods 14
Properties 5

Methods 14

Method Rating Maintainability Complexity Lines of code
isSenderAddressValid()
A
56 8 18
setFromEmailAddress()
S
54 6 19
createAuthorizedEmailAddress()
S
55 6 18
onNewsletterSenderAddressUpdate()
S
62 6 11
validateAddressesInScheduledAndAutomaticEmails()
S
54 5 22
checkAuthorizedEmailAddresses()
S
56 4 19
updateMailerLog()
S
66 4 9
onSettingsSave()
S
65 3 8
validateAddressesInSettings()
S
64 3 10
isEmailAddressAuthorized()
S
75 2 4
__construct()
S
71 1 6
getAllAuthorizedEmailAddress()
S
80 1 3
validateAuthorizedEmail()
S
74 1 4
validateEmailDomainIsVerified()
S
72 1 5